import { defineStore } from 'pinia'

// 定义并导出store，第一个参数是store的唯一ID
export const useMenu = defineStore('counter', {
  // 状态
  state: () => ({
    meunList:[]
  }),
  // 动作
  actions: {
    addMenuList(menuList) {
      this.meunList.push(menuList)
    }
  }
})